
import java.util.*;
public class Test {
    public static void main(String[] args){
        int[] array = {5,5,4,7,6,9,3,9,1,2,8};
        Sort sort = new Sort();
        int[] retArr = sort.topK(array, 3);
        System.out.println(Arrays.toString(retArr));

    }
}
